package com.evolution.warlock.service.impl;  

import java.util.List;

import javax.annotation.Resource;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.evolution.warlock.dao.MasterConfigDao;
import com.evolution.warlock.entity.MasterConfig;
import com.evolution.warlock.service.MasterConfigService;
  
/**
 * Service - 配置
 * 
 */
@Service("masterConfigServiceImpl")
public class MasterConfigServiceImpl extends BaseServiceImpl<MasterConfig, Long> implements MasterConfigService {

 @Resource(name ="masterConfigDaoImpl")
 private MasterConfigDao masterConfigDao;
 
 @Resource(name = "masterConfigDaoImpl")
 public void setBaseDao(MasterConfigDao masterConfigDao) {
  super.setBaseDao(masterConfigDao);
 }
    
 @Transactional(readOnly = true)
 public List<MasterConfig> findList() {
  return null;
 }
 
 @Transactional(readOnly = true)
 public List<MasterConfig> findList(String keyType) {
  return masterConfigDao.findList(keyType);
 }
 
 @Transactional(readOnly = true)
 public MasterConfig find(String keyType, String cd) {
  return masterConfigDao.find(keyType, cd);
 }

}
